/*
 * Copyright 2025 The JA-SIG Collaborative. All rights reserved.
 * distributed with this file and available online at
 */
package com.lap.auth.adapter.driving.persistence.tenant;

import com.lap.auth.adapter.driving.persistence.tenant.po.TenantPo;
import com.lap.auth.domain.tenant.Tenant;
import java.util.List;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface TenantConverter {

  Tenant toDomain(TenantPo tenantPo);

  List<Tenant> toDomains(List<TenantPo> list);

  TenantPo toPo(Tenant tenant);

  List<TenantPo> toPoList(List<Tenant> list);
}
